Tag Link | [File->Delete] | Category | File |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 7.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | File |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
Deletes the current file.
[File Variable->Delete]
No Parameters Required.
To delete a file:
Use the [File->Delete] tag. The following example deletes the myfile.txt file from its current location.
[Var:'File'=(File: 'myfile.txt', File_OpenRead, File_ModeChar)]
[$File->Delete]
[$File->Close]
Substitution | ||
---|---|---|
|
|
|